<%@ page language="java"
	import="java.util.*,edu.cnu.tpts.bean.*,edu.cnu.tpts.dao.*,edu.cnu.tpts.dao.impl.*"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">



<html>
<head>
	<base href="<%=basePath%>">
    <title>admin</title>
    <link rel="stylesheet" type="text/css" href="/css/main.css">
 
</head>
<body>
<div id="header">

</div>

<div id="menu">
    <ul>

        
     
     </ul>
 
</div>

<div class="table">
          <form action="student/doregister_stu.jsp" method="post"  >      
     <table>
     	<tr>
     		<td>学号</td>
     		<td><input type="text" name="id"><%
     		String iderror=(String)request.getAttribute("iderror");
     		if(iderror!=null)  out.print(iderror);
     		 %></td>
     	</tr>
     	<tr>
     		<td>登录名</td>
     		<td><input type="text" name="loginname"  >
     		<span><%
     		String namesame=(String)request.getAttribute("namesame");
     		if(namesame!=null)  out.print(namesame);
     		 %>
     		
     		 </span></td>
     	</tr>
     	<tr>
     		<td>学生姓名</td>
     		<td><input type="text" name="realname"  ></td>
     	</tr>
     	<tr>
     		<td>密码</td>
     		<td><input type="password" name="password"  ></td>
     	</tr>
     		<tr>
     		<td>确认密码</td>
     		<td><input type="password" name="repassword" >
     		<span><%
     		String pwdsame=(String)request.getAttribute("pwdsame");
     		if(pwdsame!=null)  out.print(pwdsame);
     		 %>
     		
     		 </span></td>
     	</tr>     
     	<tr>
     		<td>性别</td>
     		<td><input type="radio" name="sex" value="男" checked="checked">男
     		<input type="radio" name="sex" value="女">女
     		</td>
     	</tr>
     	
     	<tr>
     		<td>所在院系</td>
     		<td><select name="stu_department">
           	<option value="外国语学院">外国语学院
         	<option value="信息工程学院" selected="selected">信息工程学院
         	<option value="物理学院">物理学院
         	<option value="音乐学院">音乐学院
         </select></td>
     	</tr>
     	<tr>
     		<td>所在班级</td>
     		<td><input type="text" name="stu_class" ></td>
     	</tr>   
     	<tr>
     		<td ><input type="submit" value="提交"/></td>
     		<td ><input type="reset" value="重置"/></td>
     	</tr>  
     </table>
     </form>
</div>

<div id="copyright">
    <div align="center">
        <font face="Tahoma, Verdana" color="#ffffff">Copyright &copy; 首都师范大学版权所有<br>

            地址：北京市西三环北路105号 100048&nbsp;&nbsp;&nbsp;&nbsp; E-mail: </font><font face="Tahoma, Verdana">

    </font>
    </div>

</div>

</body>
</html>